import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import i18n from "@/plugins/vue-i18n";

import DefaultLayout from '@/layout/default'

// view-design
import {Button, Message} from 'view-design'
import 'view-design/dist/styles/iview.css'

Vue.component('Button', Button)
Vue.prototype.$Message = Message

// 关闭生产环境提示
Vue.config.productionTip = false

// layout
Vue.component('default-layout', DefaultLayout)

new Vue({
	i18n,
	router,
	store,
	render: h => h(App),
}).$mount('#app')
